import { join } from 'path';

const getMysqlConfig = () => {
  return {
    type: 'mysql',
    host: '101.43.97.15',
    port: 33306,
    username: 'root',
    password: '123456',
    database: 'nuxt_nest_database',
    entities: [join(__dirname, '../entities', '**/**.entity{.ts,.js}')],
    synchronize: true,
    timezone: 'Z',
  };
};

export default getMysqlConfig();
